php move file

34

//Use the rename() function.
rename('first_location/image1.jpg', 'new_location/image1.jpg');
move_uploaded_file(file_path, moved_path)

Comments

Submit
0 Comments